#pragma once


enum EIndexBufferLockType
{
	eIBLock_Discard,
	eIBLock_ReadOnly,
	eIBLock_NoOverwrite
};

struct IIndexBuffer
{
	virtual ~IIndexBuffer() {}

	virtual void*	Lock(uint offset, uint size, EIndexBufferLockType lock_type) = 0;
	virtual void	Unlock() = 0;
	virtual uint	GetSize() const = 0;
};